<?php include_partial("global/navigation")?>
<div class="main_content">
  <h2 class="pg-title"><?php echo __("Concursos y Promociones") ?></h2>
  <div class="pg-cols" >
    <div class="pg-col2">
      <ul>
      <?php foreach($promotions as $key=>$promotion){?>
          <li class="promo-item">
              <h3><?php echo $promotion->getName()?></h3>
              <div class="container-promo">
                  <p><?php echo substr(strip_tags($promotion->getContent()), 0,300) ?>...</p>
                  <a class="link-promo link1 linkhu" href="<?php echo url_for("promotion_show",array("slug"=>$promotion->getSlug()))?>"><?php echo __("Ver Detalles")?>&raquo;</a>
              </div>
          </li>
      <?php
      }?>
      </ul>
      </div>
    </div>
  </div>
